<template>
  <div class="kw-componentview">
    <div class="kw-componentview-content">
      {{item.prop}}
      <span v-if="item.required">必填</span>
    </div>
  </div>
</template>

<script>
  import { widget } from '../mixins/widget'
  export default {
    name: 'span-widget',
    mixins: [widget]
  }
</script>

<style>

</style>